import 'package:fluplu/gzxdrop_down_menu.dart';
import 'package:fluplu/home.dart';
import 'package:fluplu/login.dart';
import 'package:fluplu/nested_scroll_page.dart';
import 'package:fluplu/refresh.dart';
import 'package:fluplu/sliver.dart';
import 'package:fluplu/staggered.dart';
import 'package:fluplu/upgrade.dart';
import 'package:get/get.dart';

const String home = "/";
const String login = "/login";
const String nestedScrollPage = "/nestedScrollPage";
const String sliverPage = "/sliverPage";
const String upgradePage = "/upgradePage";
const String staggeredPage = "/staggeredPage";
const String refreshPage = "/refreshPage";
const String gZXDropDownMenuPage = "/gZXDropDownMenuPage";

final List<GetPage> getPages = [
  GetPage(name: home, page: () => const MyHomePage(title: "Flutter 插件管理")),
  GetPage(name: login, page: () => const LoginPage()),
  GetPage(name: nestedScrollPage, page: () => const NestedScrollPage()),
  GetPage(name: sliverPage, page: () => const SliverPage()),
  GetPage(name: upgradePage, page: () => const UpgradePage()),
  GetPage(name: staggeredPage, page: () => const StaggeredPage()),
  GetPage(name: refreshPage, page: () => const RefreshPage()),
  GetPage(name: gZXDropDownMenuPage, page: () => const GZXDropDownMenuPage()),
];
